<?php
require_once (dirname(__FILE__).'/include/common.inc.php');


# 页面级别
# 0 = 所有人都可以访问
$conf_web_page_level = 0; 

class myPage extends page{
	
	function myPage(){
	}
	function ajax_callback(){
		parent::ajax_callback();
		return json_encode($this->ajax_json);
	}
}
$pg = new myPage();
# 载入页面
if($_SERVER['REQUEST_METHOD'] != 'POST'){
	# 加载页面
	$pg->render($config->temp_page_path);
}else{
	print_r($pg->ajax_callback());
}


?>